-
Notifications
You must be signed in to change notification settings - Fork 10
feat: hide new public funcs introduced by linearization #1333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1333 +/- ##
==========================================
+ Coverage 79.54% 79.59% +0.05%
==========================================
Files 158 158
Lines 20440 20509 +69
Branches 19474 19542 +68
==========================================
+ Hits 16258 16324 +66
- Misses 3201 3203 +2
- Partials 981 982 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
aborgna-q
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Could we do a test counting expected public functions or something similar?
3b4efbe to
c7a2221
Compare
9a6c975 to
db104dd
Compare
|
Test revealed (and is pending) fix in Quantinuum/hugr#2792 ....EDIT so using a simpler test here |
09bd532 to
e0eb985
Compare
So following #1325 I was finally able to (/finally succeeded) in evaluating the effect of Quantinuum/hugr#2749 on guppy tests. (There was some question on that PR as to whether we needed to add new facility, see #2766; here is the data.)
Three tests were affected (indeed the same ones as were broken and then fixed by Quantinuum/hugr#2779 but that is a separate issue). The sizes of the LLVM output as follows:
Inspection of the hugrs in the middle row revealed the helper functions from Quantinuum/hugr#2749 were indeed present in the LLVM output as
define(notdefine private). Hence, this PR, following which LLVM is able to remove thedefines. (I have not looked into the remaining +2-3% increase. (The numbers include many other changes between hugr-0.24.3 and hugr-0.25.0.)